<div class="btn-group" dropdown>
  <button id="button-custom-html" dropdownToggle type="button" class="btn btn-primary dropdown-toggle"
          aria-controls="dropdown-custom-html">
    Button dropdown <span class="caret"></span>
  </button>
  <ul id="dropdown-custom-html" *dropdownMenu class="dropdown-menu"
      role="menu" aria-labelledby="button-custom-html">
    <li role="menuitem"><a class="dropdown-item" href="#">Action</a></li>
    <li role="menuitem"><a class="dropdown-item" href="#">Another action</a></li>
    <li role="menuitem"><a class="dropdown-item" href="#"><span class="badge badge-secondary">Some HTML here</span></a></li>
  </ul>
</div>
